package com.yykj.hospital.server.model.repository.account;

import com.yykj.hospital.server.enums.AccountLogType;
import com.yykj.hospital.server.model.entity.account.AccountOrderInfo;
import com.yykj.message.center.client.enums.MessageType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountOrderInfoRepository extends JpaRepository<AccountOrderInfo,String> {
    AccountOrderInfo findFirstByOrderNoAndType(String orderNo, MessageType type);
}
